﻿
#include "cxilabeldesigner.h"
#include <controls/label/cxilabel.h>

CxiLabelDesigner::CxiLabelDesigner(QObject* parent)
	: CxiDesignerBase(parent)
{
	d_name = "CxiLabel";
	d_include = "controls/label/cxilabel.h";
	d_domXml =
			"<widget class=\"CxiLabel\" name=\"label\">\n"
			" <property name=\"geometry\">\n"
			"  <rect>\n"
			"   <x>0</x>\n"
			"   <y>0</y>\n"
			"   <width>75</width>\n"
			"   <height>15</height>\n"
			"  </rect>\n"
			" </property>\n"
			" <property name=\"text\">\n"
			"  <string>TextLabel</string>\n"
			" </property>\n"
			" </widget>\n";
}

QWidget* CxiLabelDesigner::createWidget(QWidget* parent)
{
	return new CxiLabel(parent);
}
